Skip to content

Detect IFC4X3 and prevent silent schema rewrites - #57

Merged
mahach666 merged 1 commit into
mainfrom
fix/explicit-ifc-schema
Nov 23, 2026
Merged

mahach666 merged 1 commit into
mainfrom
fix/explicit-ifc-schema

Conversation

@mahach666

Copy link
Copy Markdown
Contributor

Closes #29.

Parse exact IFC schema names, retain the source identifier, and reject missing, malformed, ambiguous or unsupported declarations. IFC4X3 is available as a read-only subset: unsupported placements are omitted and reported rather than moved to the origin. IFC writes, migration, and merge cannot silently downgrade an imported IFC4X3 model.

  • Release tests: 274 passed, 2 skipped, no failures.
  • ifcio info recognized IFC4X3_ADD2 on buildingSMART's public Building-Architecture sample. A forced IFC4 rewrite returned an error and left an existing output unchanged.
  • Synthetic regressions cover schema variants, numeric OID syntax, malformed headers, unsupported placement chains, and read-only guards before file writes.

@mahach666
mahach666 merged commit c1f0ef9 into main Nov 23, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Schema handling: detect IFC4X3 explicitly and warn on unknown schemas

1 participant